package com.ofps.forms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ofps.forms.common.utils.R;
import com.ofps.forms.domain.AnswerCheckbox;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;


/**
 * @author pyn
 * @date 2022-05-17 11:26:55
 */
public interface AnswerCheckboxService extends IService<AnswerCheckbox> {


    R delete(Map<String, Object> body);

    R save(HttpServletRequest request, Map<String, Object> body);

    List<AnswerCheckbox> queryCheckboxWithFormId(String formId);

    List<AnswerCheckbox> queryCheckboxWithQuestionId(String QuestionId);

    public Map<String, Object> summerizeCheckboxMessage(Map<String, Object> body);
}

